home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.mactech.com 2010
/
ftp.mactech.com.tar
/
ftp.mactech.com
/
macintosh-c
/
macc-carbon-demos-nonbinhex.sit
/
macc-carbon-demos-nonbinhex
/
chap18-demo-carbon events
/
Files.h.rsrc
/
TEXT_17832.txt
< prev
Wrap
Text File
|
2001-06-11
|
1KB
|
22 lines
// *******************************************************************************************
// Files.h CARBON EVENT MODEL CARBON
// *******************************************************************************************
//
// This program demonstrates:
//
// • File operations associated with:
//
// • The user invoking the File menu Open…, Close, Save, Save As…, Revert, and Quit
// commands of a typical application.
//
// • Handling of the required Apple events Open Application, Re-open Application, Open
// Documents and Quit Application.
//
// • File synchronisation.
//
// • The use of Navigation Services to display Open, Save, and Choose a Folder dialog boxes.
//
// • The use of Navigation Services to display Save Changes and Discard Changes alert boxes.
//
// To keep the code not specifically related to files and file-handling to a minimum, an item
// is included in the Demonstration menu which allows the user to simulate "touching" a w